package cn.lingyangwl.agile.gateway;

import cn.lingyangwl.agile.gateway.config.*;
import cn.lingyangwl.agile.model.constants.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author shenguangyang
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = ModuleCons.SCAN_BASE_PACKAGE)
@EnableConfigurationProperties({MyGatewayProperties.class})
public class StandaloneGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(StandaloneGatewayApplication.class, args);
    }
}